package com.team.appinfo.mapper;

import com.team.appinfo.entity.AppInfo;
import com.team.appinfo.entity.AppInfoExample;
import com.team.appinfo.util.AppinfoDicontion;

import java.util.List;

public interface AppInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AppInfo record);

    int insertSelective(AppInfo record);

    List<AppInfo> selectByExample(AppInfoExample example);

    AppInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AppInfo record);

    int updateByPrimaryKey(AppInfo record);

    //分页查询
    List<AppInfo> getPageAppinfo(AppinfoDicontion appinfoDicontion);

    //查询单条
    AppInfo getAppinfo(Long id);


    //运营分页查询
    List<AppInfo> getNoPassAppinfo(AppinfoDicontion appinfoDicontion);


    //根据appId查询当前数据
    AppInfo getModernAppInfo(Long id);
}